package com.firexxx.study.designmodel.builder;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/11/13 14:20
 */
public class Director {

    public Product build(AbstractBuilder builder) {
        builder.buildPartA();
        builder.buildPartB();
        builder.buildPartC();

        return builder.getProduct();
    }
}